package com.clkj.xiuzheng.dao.shangcheng;

import com.clkj.xiuzheng.pojo.shangcheng.Identity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface ScIdentityMapper extends Mapper<Identity> {
    @Insert("insert into t_xz_identity (identity_name,company_id) values (#{identityName},#{companyId})")
    @Options(useGeneratedKeys = true, keyProperty = "identityId")
    void addIdentity(Identity identity);


}
